package com.songhq.user.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1/user")
public class UserContoller {

	@Value("${name}")
	private String name;

	@RequestMapping("/test")
	public String testConfig() {
		
		System.out.println("我 被 调用了");

		return name;
	}

	
	
	
}
